#pragma once

// CProjectMonitor command target

class CItem
{
public:
	int workDays;
	float currentProgress;
	int currentDay;
};

class CProjectMonitor : public CObject
{
public:
	CProjectMonitor();
	virtual ~CProjectMonitor();

	void AddItem(CItem& item) {m_project.Add(item);}
	CItem GetItem(int i) {return m_project.GetAt(i);}
	int CountItems() {return m_project.GetCount();}

	BOOL printSum();
	
protected:
	CArray<CItem> m_project;

};


